package yb.ecp.fast.user.service.VO;

import io.swagger.annotations.ApiModelProperty;

/**
 * Created by LiChangjiang on 2017/12/26 0026.
 */
public class DepartmentVO
{
	@ApiModelProperty("机构ID")
	private String id;

	private  String spaceId;

	@ApiModelProperty("机构名称")
	private  String name;

	@ApiModelProperty("机构编号")
	private  String code;
	@ApiModelProperty("上级机构ID")
	private  String parentId;

	private Integer seq;

	@ApiModelProperty("是否是叶子节点 1-叶节点")
	private Integer leaf;

	public String getId()
	{
		return id;
	}

	public void setId(String id)
	{
		this.id = id;
	}

	public String getSpaceId()
	{
		return spaceId;
	}

	public void setSpaceId(String spaceId)
	{
		this.spaceId = spaceId;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getCode()
	{
		return code;
	}

	public void setCode(String code)
	{
		this.code = code;
	}

	public String getParentId()
	{
		return parentId;
	}

	public void setParentId(String parentId)
	{
		this.parentId = parentId;
	}

	public Integer getSeq()
	{
		return seq;
	}

	public void setSeq(Integer seq)
	{
		this.seq = seq;
	}

	public Integer getLeaf()
	{
		return leaf;
	}

	public void setLeaf(Integer leaf)
	{
		this.leaf = leaf;
	}
}
